package lumis.portal.principal.importprincipal.reader;

import java.util.Map;

import lumis.portal.PortalException;

import org.w3c.dom.Node;

/**
 * Defines the methods for a principal reader.
 * 
 *
 * @version $Revision: 5362 $ $Date: 2006-12-15 19:58:24 -0200 (Fri, 15 Dec 2006) $
 * @since 4.0.8
 */
public interface IPrincipalReader
{
	/**
	 * Read users and groups and return them in string format in entries named userList and groupList of the map returned.
	 * @param reader
	 * @return
	 * @throws PortalException
	 * @since 4.0.8
	 */
	public Map<String, String> read(Node reader) throws PortalException;
}
